from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .views import EquipmentViewSet

router = DefaultRouter()
router.register(r'', EquipmentViewSet)

urlpatterns = [
    path('', include(router.urls)),
    path('equipment_overview',
         EquipmentViewSet.as_view({'get': 'equipment_overview'})),
]
